Returns the test computer's screen width.
Syntax
GetScreenWidth()
Return value
| Value | Description |
|---|---|
| Value | Screen width. When testing on a computer with multiple screens, the value is the total width of all screens. |
Example
width = GetScreenWidth()
y = GetMouseYCoordinate()
'Moves mouse to right on screen
MouseMove(width, y, 5000)